<script setup lang="ts">
import { mockTable } from '@/mock'

const { data, columns } = mockTable(['code', 'users', 'total', 'time'], ['工时代码', '填报人员', '填报工时总和', '填报时间'])
</script>

<template>
  <ElTable
    :border="true"
    :stripe="true"
    :data="data"
  >
    <ElTableColumn
      v-for="item in columns"
      :key="item.property"
      v-bind="item"
      align="center"
    />
  </ElTable>
</template>
